package com.hz.monitoring.module.hardware.controller.admin.sensor_tenant_resource.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.hz.monitoring.module.hardware.controller.admin.vo.CustomFields;
import com.hz.monitoring.module.hardware.controller.admin.vo.CustomSensorAttribute;
import com.hz.monitoring.module.hardware.controller.admin.vo.CustomWarningAttribute;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.util.List;

/**
 * 传感器租户配置 Excel VO
 *
 * @author 芋道源码
 */
@Data
public class SensorTenantResourceExcelVO {

    @ExcelProperty("MCU配置id")
    private Long mcuTenantResourceId;

    @ExcelProperty("MCU型号")
    private String mcuModel;

    @ExcelProperty("绑定的MCU通道号")
    private Integer mcuChannel;

    @ExcelProperty("型号")
    private String model;

    @ExcelProperty("名称")
    private String name;

    @ExcelProperty("备注")
    private String remark;

    @ExcelProperty("创建时间")
    private Date createTime;

    @ExcelProperty(value = "自定义的属性和值")
    private List<CustomSensorAttribute> attributeMetadata;

    @ExcelProperty(value = "预警数据")
    private List<CustomWarningAttribute> valueMetadata;

    @ExcelProperty(value = "上报数据对应的值")
    private List<CustomFields> warningMetadata;
}
